package org.caowei.samples.dao;

import java.util.List;

import org.caowei.samples.model.Subject;

public interface ISubjectDAO extends IBaseDAO<Subject>{

	public void createSubject(Subject subject) throws Exception;

	public void editSubject(Subject subject) throws Exception;

	public void deleteSubject(int subId) throws Exception;

	public List<Subject> findAllSubjects() throws Exception;

	public Subject getSubjectById(int subId) throws Exception;

	public List<String> getAllUserBySubject(Integer subjectId);

	public void insertSubjectUsers(List<String> insertList, Integer subjectId);

	public void deleteSubjectUsers(List<String> delList, Integer subjectId);
}
